package com.rs.dao;

import com.rs.model.Adjustment;
import com.rs.model.Position;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface AdjustmentMapper {
    int deleteByPrimaryKey(Integer adj_id);

    int insert(Adjustment record);

    Adjustment selectByPrimaryKey(Integer adj_id);

    List<Adjustment> selectAll();

    int updateByPrimaryKey(Adjustment record);

	List<Adjustment> adjustmentAllPC();//查询所有

	Adjustment adjustmentByIdPC(Adjustment adjustment);//根据ID查询

	int adjustmentAddPC(Adjustment adjustment);//添加申请

	int adjustmentUpdatePC(Adjustment adjustment);//修改申请

	int adjustmentDelPC(Adjustment adjustment);//删除申请

	List adjustmentAllApp();//App查询

	int adjustmentAddApp(Adjustment adjustment);//App添加

	int adjustmentUpdateApp(Adjustment adjustment);//App修改

	int adjustmentDelApp(Adjustment adjustment);//App删除

	List<Adjustment> adjustmentAll();//查询所有待审核申请

	List<Adjustment> adjustmentSelectByTiaojian(Adjustment a2);


	
	
	
}